import instance from "./http";


export const getshoplist=()=>{
    return instance.get("/shoplist")
}
export const delshoplist=(id:any)=>{
    return instance.delete(`/shoplist/${id}`)
}
export const addshoplist=(obj:any)=>{
    return instance.post(`/shoplist`,obj)
}
export const editshoplist=(obj:any)=>{
    return instance.patch(`/shoplist/${obj.id}`,obj)
}